package com.dbsop.domain.transport.agg;

import com.dbsop.domain.agg.Agg;
import org.elasticsearch.search.aggregations.AggregationBuilder;

public abstract class TransportAgg  extends Agg {

    public TransportAgg(String fieldName) {
        super(fieldName);
    }

    public TransportAgg(String fieldName, String formatName) {
        super(fieldName, formatName);
    }

    /**
     * 获取聚合操作
     * @return
     */
    public abstract AggregationBuilder aggregationBuilder();

}
